﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

public partial class vp_Billing_InventoryAdjustment : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        GridView1.DataSource = GetTable();
        GridView1.DataBind();

        GridView2.DataSource = GetTable();
        GridView2.DataBind();

    }



    private DataTable GetTable()
    {

        DataTable dtbl1 = new DataTable();

        dtbl1.Columns.Add("Product Code", typeof(string));
        dtbl1.Columns.Add("Category Code", typeof(string));
        dtbl1.Columns.Add("Lot no.", typeof(string));
        dtbl1.Columns.Add("Tag no.", typeof(string));
        dtbl1.Columns.Add("Bar Code", typeof(string));
      


        dtbl1.Rows.Add("Product01", "Category01", "L0384394", "T0943438", "B013900" );
        dtbl1.Rows.Add("Product02", "Category02", "L0384394", "T0943438", "B013900");
        dtbl1.Rows.Add("Product03", "Category03", "L0384394", "T0943438", "B013900" );
        dtbl1.Rows.Add("Product04", "Category04", "L0384394", "T0943438", "B013900");

        return dtbl1;
    }
}